Create Performance Rule Slider
Site rules optimize speed, security, and usability.
To open the Create Performance Rule Slider, click Create Rule.
Select the type of rule you want to create:
Option |
Description |
---|---|
Sequence Resource |
Determines the order in which third parties load. |
Dynamic Sequencing |
Prioritizes and spreads out the loading of third parties. |
Block Resource |
Prevents resources from loading. |
JavaScript Injection |
Inserts JavaScript into your site in the yo.configure call. Use JavaScript injections when you need to immediately add JavaScript and cannot wait for the next release cycle. Some examples of JavaScript include:
|
The options change dynamically depending on which rule type you select. Use the drop-down text below to view the options that appear for each rule:
Option |
Description |
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Resource Object |
Select an option:
|
||||||||||||||
Resource to Sequence |
Select an option:
|
||||||||||||||
Sequence Type |
Select an option:
|
Option |
Description |
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sequence Type |
Select an option:
|
Option |
Description |
---|---|
Third Party |
Select the third party to block. |
Custom Resource |
Enter the resource URLs, separated by commas. |
Option |
Description |
---|---|
JavaScript |
Enter the JavaScript in the box. |
Additional Options
These options are available for all rule types.
Option |
Description |
||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Apply to |
|
||||||||||||||||||||||
Profiles |
Sets which profiles to apply the rule to. You can create profiles in Settings > Context Intelligence. |
||||||||||||||||||||||
Override States |
|
||||||||||||||||||||||
Notes (optional) |
Use the Notes field to add important information for your team. For example, if you are creating a temporary rule for testing, you can indicate that in the notes. |